import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
import './plugins/element.js'

import api from './api'

// 绑定多个 axios 请求路径
Vue.prototype.$api = api
Vue.config.productionTip = false

import cookies from 'js-cookie'
// 挂载到Vue原型
Vue.prototype.$cookies = cookies

new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')
